package com.mall.db.api;

import com.mall.db.mapper.OmsOrderSettingMapper;
import com.mall.domain.OmsOrderSetting;
import com.mall.interface1.api.OmsOrderSettingApi;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class OmsOrderSettingApiImpl implements OmsOrderSettingApi {

    @Autowired
    private OmsOrderSettingMapper omsOrderSettingMapper;

    //获取指定订单设置
    public OmsOrderSetting findById(Long id) {
        return omsOrderSettingMapper.selectById(id);
    }
}
